<!-- #section:basics/navbar.layout -->

<!-- Top Bar Start -->
<div class="topbar">
    <!-- Navbar -->
    <nav class="navbar-custom">

        <!-- LOGO -->
        <div class="topbar-left">
            <a href="{:U(C('PRO_INDEX'))}" class="logo">
                <span>
                    <img src="__PUBLIC__/assets/images/logo-sm.png" alt="" class="logo-big">
                </span>
                <span>
                    <!-- <img src="__PUBLIC__/assets/images/logo-dark.png" alt="logo-large" class="logo-lg"> -->

                </span>
            </a>
        </div>

        <ul class="list-unstyled topbar-nav float-right mb-0">

            <li class="dropdown">
                <a class="nav-link dropdown-toggle arrow-none waves-light waves-effect" data-toggle="dropdown" href="#"
                    role="button" aria-haspopup="false" aria-expanded="false">
                    <i class="mdi mdi-bell-outline nav-icon"></i>
                    <span class="badge badge-danger badge-pill noti-icon-badge">{:count($message_list)}</span>
                </a>
                <div class="dropdown-menu dropdown-menu-right dropdown-lg">
                    <!-- item-->
                    <h6 class="dropdown-item-text">
                        通知 ({:count($message_list)})
                    </h6>
                    <div class="slimscroll notification-list">
                        <volist name="message_list" id="vo" offset="0" length='5'>

                        <!-- item-->
                        <a href="javascript:void(0);" class="dropdown-item notify-item">
                            <div class="notify-icon bg-warning"><i class="mdi mdi-message"></i></div>
                            <p class="notify-details">{$vo.title}<small class="text-muted">{$vo.content}</small></p>
                        </a>
                        </volist>
                    </div>
                    <!-- All-->
                    <a href="{:U('profile/message')}" class="dropdown-item text-center text-primary">
                        查看全部 <i class="fi-arrow-right"></i>
                    </a>
                </div>
            </li>
            <li class="dropdown">
                <a class="nav-link dropdown-toggle waves-effect waves-light nav-user" data-toggle="dropdown" href="#"
                    role="button" aria-haspopup="false" aria-expanded="false">
                    <img src="__ROOT__{$user_img_url}" alt="profile-user" class="rounded-circle" />
                    <span> {$admin_name}</span>
                    <span class="ml-1 nav-user-name hidden-sm"> <i class="mdi mdi-chevron-down"></i> </span>
                </a>
                <div class="dropdown-menu dropdown-menu-right">
                    <a class="dropdown-item" href="{:U('profile/index')}"><i class="dripicons-user text-muted mr-2"></i> 个人中心</a>
                    <a class="dropdown-item"href="{:U('profile/message')}"><i class="dripicons-wallet text-muted mr-2"></i> 消息中心</a>
                    <!-- <a class="dropdown-item" href="#"><i class="dripicons-gear text-muted mr-2"></i> Settings</a> -->
                    <a class="dropdown-item" href="{:U('Member/editpwd')}"><i class="dripicons-lock text-muted mr-2"></i> 修改密码</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" href="{:U('index/logout')}"><i class="dripicons-exit text-muted mr-2"></i>
                        退出</a>
                </div>
            </li>
        </ul>

        <ul class="list-unstyled topbar-nav mb-0">

            <li>
                <button class="button-menu-mobile nav-link waves-effect waves-light">
                    <i class="mdi mdi-menu nav-icon"></i>
                </button>
            </li>

            <li class="hide-phone app-search">
                <!-- <form role="search" class="">
                   <input type="text" placeholder="Search..." class="form-control">
                   <a href=""><i class="fas fa-search"></i></a>
               </form> -->
            </li>

        </ul>

    </nav>
    <!-- end navbar-->
</div>














<div id="navbar" class="navbar navbar-default">
    <script type="text/javascript">
        try {
            ace.settings.check('navbar', 'fixed')
        } catch (e) {
        }
    </script>

    <div class="navbar-container" id="navbar-container">
        <!-- #section:basics/sidebar.mobile.toggle -->
        <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">
            <span class="sr-only">Toggle sidebar</span>

            <span class="icon-bar"></span>

            <span class="icon-bar"></span>

            <span class="icon-bar"></span>
        </button>

        <!-- /section:basics/sidebar.mobile.toggle -->
        <div class="navbar-header pull-left">
            <!-- #section:basics/navbar.layout.brand -->
            <a class="" style="text-decoration:none;">
                <!--<div class="new_log_title">无 中 心 、扁 平 化 智 能 建 筑 平 台</div>-->
                <div class="title_text"> {:C('PRO_TITLE')}</div>
                <!-- <img class="ly_logo_index" src="__PUBLIC__/web/bgimg/logo_n.png" alt="邻元科技" title="邻元科技"> -->
                <!-- <img class="mixc_logo_index" src="__PUBLIC__/web/bgimg/logo_mixc.png" alt="邻元科技" title="邻元科技"> -->
                <!-- <img class="ly_logo_wj" src="__PUBLIC__/web/bgimg/wj-logo.png" alt="邻元科技" title="邻元科技"> -->
            </a>

            <!-- /section:basics/navbar.layout.brand -->

            <!-- #section:basics/navbar.toggle -->

            <!-- /section:basics/navbar.toggle -->
        </div>

        <!-- #section:basics/navbar.dropdown -->
        <div class="navbar-buttons navbar-header pull-right" role="navigation">
            <ul class="nav ace-nav">


                <!-- #section:basics/navbar.user_menu -->
                <!--<li class="titledate" id="titledate">-->


                <li class="light-blue">
                    <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                        <div class="user-info">

                            <i class="fa fa-user-circle-o"></i>
                            <span>
                                {$admin_name}
                            </span>

                        </div>


                    </a>

                    <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">


                        <li>
                            <a href="{:U('index/logout')}">
                                <i class="ace-icon fa fa-power-off"></i>
                                退出
                            </a>
                        </li>
                    </ul>
                </li>

                <!-- /section:basics/navbar.user_menu -->
            </ul>
        </div>

        <!-- /section:basics/navbar.dropdown -->
    </div><!-- /.navbar-container -->
</div>

<!-- /section:basics/navbar.layout -->